<?php

include $_SERVER['DOCUMENT_ROOT']."/lib/start.php";

header("Content-type: text/plain");

$sel_news = "SELECT * FROM news WHERE id_news = ".$_POST['id'];
$res_news = $db->executeQuery($sel_news);
$news = $res_news->fetch_assoc();

print $news['abstract']."|".$news['testo'];

exit;

?>